import React, { Component } from 'react'

export class Hello extends Component {
  render() {
    return (
      <div>
        <h1>名字：{this.props.name} 年龄:{this.props.age}</h1>
        <h1>数组：{this.props.likes.join('==>')}</h1>
        <h1>名字：{this.props.obj.name} 年龄:{this.props.obj.age}</h1>
        <h1>fn:{this.props.fn()}</h1>
        <div>jsx:{this.props.jsx} </div>
      </div>
    )
  }
}